package com.lintf.common.core.domain.model;

import lombok.Data;

/**
 * @ system:Mac
 * @ author:lin tingfeng
 * @ data:2023/12/11 16:49
 * @ package_name:com.lintf.common.core.domain.model
 * @ project_name:mobile-project
 * @ desc:
 */

@Data
public class WxLoginBody {

    /**
     * 暂时登陆凭据 code 只能运用一次
     */
    private String code;

    /**
     * 检查微信登录是否过期
     */
    private Boolean checkSession;

    /**
     * 偏移量
     */
    private String encryptedIv;

    /**
     * 加密数据
     */
    private String encryptedData;

    /**
     * 用户数据
     */
    private userDetail userDetail;

    @Data
    public static class userDetail {

        private String avatarUrl;

        private String city;

        private String country;

        private String province;

        private String nickName;

        private Integer gender;

        private String language;

    }
}
